package test

object t3 extends App {

  //  var reslist = List[(String, Float)]()
  //  reslist = reslist.::("zz", 66)
  //
  //  println(reslist)

  for (i <- 0 to 1000) {
    val pyid = StringUtils.RandomString(20);
    val py_hash = pyid.hashCode
    val py_partition = Math.abs(py_hash) % 50
    val partition = "%02d".format(py_partition)
    println(partition)
  }
}